package com.jt.service;

import com.jt.pojo.Cart;
import com.jt.pojo.Shopping;

import java.util.List;

public interface CartService {
    void addCart(Cart cart);

    List<Shopping> findCart(Integer id);

    void updateCart(Integer id, Integer nummer);

    void decreaseCart(Shopping shopping);

    void addCart(Shopping shopping);

    void deleteCart(Integer id);

    void deleteAllCart(Integer id);
}
